package com.coding.dao;

import com.coding.pojo.Wrong;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WrongDao {
    int insert(Wrong record);

    int insertSelective(Wrong record);

    Wrong selectWrong(@Param("user_id") int user_id,@Param("source_id") int source_id,@Param("wrong_kind") String wrong_kind);

    List<Wrong> selectByUser(int user_id);
}